package com.zhima.properties;


import com.zhima.enums.JudgerTypeEnums;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author : 芝麻
 * @date : 2023-09-07 09:39
 **/
@Data
@Configuration
@ConfigurationProperties("zhima-oj-judger")
public class ZhimaJudgerProperties {
    private JudgerTypeEnums judgerType = JudgerTypeEnums.JUDGE0;
    private Integer checkLimit = Runtime.getRuntime().availableProcessors();
}
